/*
 * Copyright (c) 2015. For Intelligent Group.
 */

package com.intelligent.ispc.utils;

import com.intelligent.ispc.external.rcall.common.LevelType;

/**
 * Created by cherry on 2016/4/19.
 */
public final class LevelTypeUtil {

    public static boolean isLevelNormalType(String type) {
        if (LevelType.NORMAL.equals(type)) {
            return true;
        }

        return false;
    }

    public static boolean isLevelExcellentType(String type) {
        if (LevelType.EXCELLENT.equals(type)) {
            return true;
        }

        return false;
    }

    public static boolean isLevelAboveType(String type) {
        if (LevelType.ABOVE_RECTIFICATION.equals(type)) {
            return true;
        }

        return false;
    }
    public static boolean isLevelAcceptableType(String type) {
        if (LevelType.ACCEPTABLE.equals(type)) {
            return true;
        }

        return false;
    }
    public static boolean isLevelGoodType(String type) {
        if (LevelType.GOOD.equals(type)) {
            return true;
        }

        return false;
    }
    public static boolean isLevelRectificationType(String type) {
        if (LevelType.RECTIFICATION.equals(type)) {
            return true;
        }

        return false;
    }
}
